package com.unsky.utils.jpasql;

import java.util.HashMap;
import java.util.Map;

public abstract class XmlQuery {
	//存储查询参数
	private Map<String,Object> conditions=new HashMap<String,Object>();
	/**
	 * 封装查询条件
	 */
	public abstract  Map<String,Object> conditions();
	public Map<String,Object> getConditions(){
		return conditions;
	}
	public void addParameter(String key ,Object value){
		conditions.put(key, value);
	}
}
